home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / apidev / clib.exe / CLIB.TXT < prev    next >
Text File  |  1993-09-17  |  5KB  |  141 lines

  1.  
  2.               NOVELL TECHNICAL INFORMATION DOCUMENT
  3.  
  4. TITLE:              CLIB for NetWare 386 v3.0
  5. DOCUMENT ID:        TID000090
  6. DOCUMENT REVISION:  A
  7. DATE:               01JUL93
  8. ALERT STATUS:       Yellow
  9. INFORMATION TYPE:   Symptom Solution
  10. README FOR:         CLIB.EXE
  11.  
  12. NOVELL PRODUCT and VERSION:
  13. NetWare Pre 3.11 and 2.2
  14.  
  15. ABSTRACT:
  16. This file contains CLIB.NLM, which is the NLM enabling libraries for
  17. NetWare v3.0.
  18. _________________________________________________________________
  19.  
  20. DISCLAIMER
  21. THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. 
  22. NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. 
  23. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION
  24. ONLY.  NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS
  25. INFORMATION.
  26. _________________________________________________________________
  27.  
  28. Self-Extracting File Name:  CLIB.EXE
  29.  
  30. Files Included     Size     Date        Time
  31.  
  32.     CLIB.TXT          (This File)
  33.     CLIB.NLM     127263   11-10-89     10:04a
  34.  MATHLIB.NLM      21610   11-09-89      9:54a
  35. MATHLIBC.NLM      12449   11-09-89      9:53a
  36. STREAMDU.NLM        717    8-07-89     12:08a
  37.  
  38.  
  39. This file contains information on the following topics:
  40.      Installing NetWare 386 Including the C library (CLIB.NLM)
  41.      Setting the Time Zone
  42.  
  43.  
  44. INSTALLING NETWARE 386 INCLUDING THE C LIBRARY
  45.  
  46.  
  47.      The NLMs in this directory are:
  48.                  CLIB.NLM
  49.                  MATHLIB.NLM
  50.                  MATHLIBC.NLM
  51.                  STREAMDU.NLM
  52.  
  53. You will normally want to load CLIB.NLM and STREAMDU.NLM
  54.      (or STREAMS.NLM) from the AUTOEXEC.NCF file.
  55.  
  56. Streams (STREAMS.NLM or STREAMDU.NLM) must be loaded prior to loading
  57. CLIB.NLM.
  58.  
  59.         Example:
  60.                 LOAD STREAMS
  61.                 LOAD CLIB
  62.  
  63. STREAMDU.NLM is used if the NLMs being run do NOT use Streams, in order to
  64. save memory, approximately 40K, on the file server.
  65.  
  66.         Example:
  67.                 LOAD STREAMDU
  68.                 LOAD CLIB
  69.  
  70. MATHLIB.NLM and MATHLIBC.NLM are only needed by NLMs that use floating
  71. point math.
  72.  
  73. - If MATHLIB.NLM or MATHLIBC.NLM is NOT loaded, and an NLM attempts to use
  74. them, the NLM will be aborted and an error will be returned.
  75.  
  76.               "NLM requires MATHLIB or MATHLIBC"
  77.  
  78.                          OR
  79.  
  80.              "NLM requires MATHLIB (not MATHLIBC)"
  81.  
  82.                          OR
  83.  
  84.              "Loader cannot find public symbol: xxx"
  85. where xxx is the call that is being made (ie. asin, atan, etc.)
  86.  
  87. - If MATHLIBC.NLM is loaded, there may be some NLMs that won't work. If an
  88. NLM written to use ONLY MATHLIB.NLM is loaded, the NLM will be aborted and
  89. the message
  90.  
  91.                "NLM requires MATHLIB (not MATHLIBC)"
  92.  
  93.          will be printed.
  94.  
  95.      MATHLIB.NLM should be used if an 80387 is installed.
  96.  
  97. Note:  MATHLIBC.NLM is faster than MATHLIB.NLM for NLMs that run on a
  98. server that does NOT have an 80387 and that were written for MATHLIBC.NLM. 
  99. Therefore, you should TRY to use MATHLIBC.NLM if an 80387 is NOT
  100. installed.
  101.  
  102.  
  103. SETTING THE TIME ZONE
  104. The TZ environment variable is used to establish the local time zone.  The
  105. value of the variable is used by various time functions to compute times
  106. relative to Greenwich Mean Time.
  107.  
  108. The "tzset" function can be used to set the global variables "daylight"
  109. (indicates if daylight saving time is in effect), "timezone" (contains the
  110. number of seconds of time difference between the local time zone and
  111. Greenwich Mean Time), and "tzname" (a vector of two pointers to character
  112. strings containing the standard and daylight timezone names).
  113.  
  114.      The value of the TZ parameter should be set as follows:
  115.  
  116. - three letters to be the abbreviation for the name of the time zone (EST,
  117. CST, MST, PST, etc.)
  118.  
  119. - a signed integer to be the number of hours that the time zone is earlier
  120. than Greenwich Mean Time (EST = 5, CST = 6, MST = 7, PST = 8, etc.)
  121.  
  122. - three letters to be the abbreviation for the name of the time zone when
  123. daylight savings time is in effect (EDT, CDT, MDT, PDT, etc.)
  124.  
  125. When the name of the time zone for daylight saving time is given, it is
  126. assumed that daylight saving time is in effect; otherwise, standard time is
  127. assumed.  Some examples are:
  128.  
  129. TZ=EST5   Eastern Standard Time, 5 hours earlier than Greenwich Mean Time,
  130. standard time is in effect (this is the default when the TZ variable is not
  131. set)
  132.  
  133. TZ=PST8PDT  Pacific Standard Time, 8 hours earlier than Greenwich Mean
  134. Time, daylight saving time is in effect
  135.  
  136. The syntax to use when loading the CLIB.NLM is:
  137.  
  138. LOAD CLIB TZ = <timezone abbreviation><hours>[<daylight saving time
  139. abbreviation>]
  140.  
  141.